package elsa.bean;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

public class ScsAdmin {
	
    private String userid;
    private String username;
    private String password;
    private String name;
    private String sex;
    private String state;

    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date rgsttime;
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date latesttime;

    private Integer work;

    public ScsAdmin(){
    	
    }
    
    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid == null ? null : userid.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public Date getRgsttime() { return rgsttime; }

    public void setRgsttime(Date rgsttime) { this.rgsttime = rgsttime; }

    public Integer getWork() {
        return work;
    }

    public void setWork(Integer work) {
        this.work = work;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state == null ? null : state.trim();
    }
    
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }
    
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

	public Date getLatesttime() {
		return latesttime;
	}

	public void setLatesttime(Date latesttime) {
		this.latesttime = latesttime;
	}
}